package com.goldcn.user.dao;

import com.goldcn.user.dto.ApplyDto;
import com.goldcn.user.model.UserApply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserApplyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserApply record);

    int insertSelective(UserApply record);

    UserApply selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserApply record);

    int updateByPrimaryKey(UserApply record);

    List<UserApply> selectByConditon(ApplyDto applyDto);

    UserApply selectByUserID(@Param("userID") Long userID);

    int deleteByUserID(Long userID);

    int selectUserApplyIsAuditQty(@Param(value = "mobile") String mobile, @Param(value = "companyID") Long companyID);
}